/**
 * @fileOverview Main file handle common events and display interface interact with user
 * @author Le Duc, Nam (lenam.k54@gmail.com)
 * @copyright VIT Coder group
 */
define([
    'jquery',
    'views/tools',
    'views/design-area',
    'views/exports',
    'views/properties'
], function (
    $,
    Tools,
    DesignArea,
    Exports,
    Properties
    ) {
    'use strict';
    window.App = {};
    App.Tools = Tools;
    App.Exports = Exports;
    App.Properties = Properties;
    App.DesignArea = DesignArea;
    return {
        /**
         * Set html for layouts
         * @returns Set html for layouts
         */
        initialize: function () {
            $('#left').html((new Tools()).render());
            $('#center').html((new DesignArea()).render());
            $('#center').append((new Exports()).render());
            $('#right').html((new Properties()).render());
        }
    };
});